﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Workflow.ComponentModel;

namespace WindowsWorkflow.SequentialActivities
{
	public class NavigatorEventArgs:EventArgs 
	{
		private ReadOnlyCollection<Activity> _history;
		/// <summary></summary>
		public ReadOnlyCollection<Activity> history
		{
			get
			{
				return this._history;
			}
		}

		private Activity _NavigateTo;
		/// <summary></summary>
		public Activity NavigateTo
		{
			get
			{
				return this._NavigateTo;
			}
			set
			{
				this._NavigateTo = value;
			}
		}

		internal NavigatorEventArgs(ReadOnlyCollection<Activity> history)
		{
			_history = history;
		}
	}
}
